require(['jquery', 'cookie', 'app', 'lay'], function ($) {
    require(['vue'], function (Vue) {
        var dic = new Vue({
            el: ".vue-box"
            , data: {
                where: [],
                that: {

                }
            }
            , created: function () {
                this.seachs();
            }
            , methods: {
                loadPage: function () {
                    var re = playAjax("bsp/46").data;
                    var toolbar = [];
                    bspVIEW($(".sa-table"), "SaleController/UserList", re, this.where, toolbar);
                },
                seachs: function () {
                    this.where = fromName($(".el-form"));
                    this.loadPage();
                },
                referXadmin: function () {
                    window.location.reload();
                },
            }
        });
    })
});
function deleted(uuid) {
    var re = playAjax("/SaleController/UserDel",{uuid:uuid});
    alr(re.msg);
    if(re.code==200){
        setTimeout(function () {
            window.reload();
        },500);
    }
}
